# 参见 https://www.vitejs.net/guide/static-deploy.html#github-pages


# #!/usr/bin/env sh

# # 发生错误时终止
# set -e

# # 构建
# npm run build

# # 进入构建文件夹
# cd dist

# # 如果你要部署到自定义域名
# # echo 'www.example.com' > CNAME

# git init
# git add -A
# git commit -m 'deploy'

# # 如果你要部署在 https://<USERNAME>.github.io
# # git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master

# # 如果你要部署在 https://<USERNAME>.github.io/<REPO>
# # git push -f git@github.com:<USERNAME>/<REPO>.git master:gh-pages

# cd -